import json

with open('data/pd_harmful_all.jsonl', 'r', encoding='utf-8') as f:
    lines = f.readlines()
    for i in range(0, len(lines), 200):
        with open(f'data/pd_harmful_{i}.jsonl', 'w', encoding='utf-8') as wf:
            wf.writelines(lines[i:i+200])